\hypertarget{classguild__service_1_1guildservicebasic_logic}{}\doxysection{guild\+\_\+service\+::guildservicebasic\+Logic Class Reference}
\label{classguild__service_1_1guildservicebasic_logic}\index{guild\_service::guildservicebasicLogic@{guild\_service::guildservicebasicLogic}}


公会基础功能逻辑类  




{\ttfamily \#include $<$guild\+\_\+basic\+\_\+logic.\+h$>$}

\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classguild__service_1_1guildservicebasic_logic_a9731b86ab2688b74331bcdb190e63237}\label{classguild__service_1_1guildservicebasic_logic_a9731b86ab2688b74331bcdb190e63237}} 
using \mbox{\hyperlink{classguild__service_1_1guildservicebasic_logic_a9731b86ab2688b74331bcdb190e63237}{duty\+\_\+type}} = guildservicebasic\+\_\+cpp\+::\+Guild\+Duty
\begin{DoxyCompactList}\small\item\em 公会成员职责类型 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static bool \mbox{\hyperlink{classguild__service_1_1guildservicebasic_logic_afc0b2f5613fae02a210e047cc0d121c8}{Create\+Guild}} (const role\+\_\+uuid\+\_\+type role\+\_\+uuid, const std\+::string \&guild\+\_\+name, guild\+\_\+id\+\_\+type \&guild\+\_\+id, error\+\_\+code \&ec)
\begin{DoxyCompactList}\small\item\em 创建公会 \end{DoxyCompactList}\item 
static bool \mbox{\hyperlink{classguild__service_1_1guildservicebasic_logic_a9cccd7ff3d6b60d24f14e4f990dd8d48}{Delete\+Guild}} (const guild\+\_\+id\+\_\+type guild\+\_\+id, error\+\_\+code \&ec)
\begin{DoxyCompactList}\small\item\em 删除公会 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
公会基础功能逻辑类 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classguild__service_1_1guildservicebasic_logic_afc0b2f5613fae02a210e047cc0d121c8}\label{classguild__service_1_1guildservicebasic_logic_afc0b2f5613fae02a210e047cc0d121c8}} 
\index{guild\_service::guildservicebasicLogic@{guild\_service::guildservicebasicLogic}!CreateGuild@{CreateGuild}}
\index{CreateGuild@{CreateGuild}!guild\_service::guildservicebasicLogic@{guild\_service::guildservicebasicLogic}}
\doxysubsubsection{\texorpdfstring{CreateGuild()}{CreateGuild()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::guildservicebasic\+Logic\+::\+Create\+Guild (\begin{DoxyParamCaption}\item[{const role\+\_\+uuid\+\_\+type}]{role\+\_\+uuid,  }\item[{const std\+::string \&}]{guild\+\_\+name,  }\item[{guild\+\_\+id\+\_\+type \&}]{guild\+\_\+id,  }\item[{error\+\_\+code \&}]{ec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



创建公会 


\begin{DoxyParams}{Parameters}
{\em role\+\_\+uuid} & 创建公会的角色唯一id \\
\hline
{\em guild\+\_\+name} & 公会名字 \\
\hline
{\em guild\+\_\+id} & 公会id \\
\hline
{\em ec} & 错误码 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true 创建成功 

false 创建失败 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1guildservicebasic_logic_a9cccd7ff3d6b60d24f14e4f990dd8d48}\label{classguild__service_1_1guildservicebasic_logic_a9cccd7ff3d6b60d24f14e4f990dd8d48}} 
\index{guild\_service::guildservicebasicLogic@{guild\_service::guildservicebasicLogic}!DeleteGuild@{DeleteGuild}}
\index{DeleteGuild@{DeleteGuild}!guild\_service::guildservicebasicLogic@{guild\_service::guildservicebasicLogic}}
\doxysubsubsection{\texorpdfstring{DeleteGuild()}{DeleteGuild()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::guildservicebasic\+Logic\+::\+Delete\+Guild (\begin{DoxyParamCaption}\item[{const guild\+\_\+id\+\_\+type}]{guild\+\_\+id,  }\item[{error\+\_\+code \&}]{ec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



删除公会 


\begin{DoxyParams}{Parameters}
{\em guild\+\_\+id} & 公会id \\
\hline
{\em ec} & 错误码 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true 删除成功 

false 删除失败 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
guildservicebasic/logic/\mbox{\hyperlink{guild__basic__logic_8h}{guild\+\_\+basic\+\_\+logic.\+h}}\item 
guildservicebasic/logic/guild\+\_\+basic\+\_\+logic.\+cpp\end{DoxyCompactItemize}
